<?php
use yii\widgets\ActiveForm;
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
  <title>职位申请 - 基本信息</title> 
  <script type="text/javascript">
        try {
            top.location.hostname;
            if (top.location.hostname != window.location.hostname) {
                top.location.href = window.location.href;
            }
        }
        catch (e) {
            top.location.href = window.location.href;
        }
    </script> 
  <!--通用样式Css和脚本--> 
  <script type="text/javascript">var $bs_vars={'st':'http://stnew.beisen.com/','version':'2015.09.17.001','constSite':'http://const.tms.beisen.com'};function vstr(str) {
         if (typeof ($bs_vars) == 'undefine')
             return str;
         var result = str;
         for (var v in $bs_vars) {
             var regex = new RegExp('\\$\\{' + v.toString() + '\\}|\\{' + v.toString() + '\\}', 'igm');
             result = result.replace(regex, $bs_vars[v]);
         }
         return result;
     };</script> 
  <!--引用静态文件:requirejs--> 
  <script type="text/javascript" src="js/require.js"></script> 
  <!--引用静态文件:skin_default--> 
  <link href="css/common.css" rel="stylesheet" type="text/css" />
  <link href="css/templateform.css" rel="stylesheet" type="text/css" />
  <link href="css/controls.css" rel="stylesheet" type="text/css" />
  <link href="css/default.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="js/base_new.js"></script>
  <script type="text/javascript" src="js/widgetnew.js?v=3"></script>
  <script type="text/javascript" src="js/common.js"></script>
  <script type="text/javascript" src="js/bsdialog.js"></script>
  <script type="text/javascript" src="js/common.js"></script>
  <script type="text/javascript" src="js/controls.js"></script>
  <script type="text/javascript" src="js/underscore.js"></script>
  <script type="text/javascript" src="js/school-select-v2.js?v=6"></script>
  <link href="css/school-select-v2.css" rel="stylesheet" type="text/css" /> 
  <!--引用静态文件:skin_new_css--> 
  <link href="css/main.css" rel="stylesheet" type="text/css" /> 
  <!--引用静态文件:new_dialog_js--> 
  <script type="text/javascript" src="js/dialog_js.js"></script> 
  <!--产品头部CSS和脚本--> 
  <script src="js/WdatePicker.js"></script> 
  <script type="text/javascript">
       window.PERF_START=new Date;
       function _splash(page, uid, tid, pid){
        uid =  uid || 0;  // 这里是用户ID
        tid =  tid || 0;   // 这里是租户ID
        pid =  pid || 'unknown';  // 这里是项目标识
        var now = new Date;
        var start = window.PERF_START || now;
        var diff = now - start;
        var rand = Math.round(Math.random()*1000000);
        var url= document.location.protocol+'//opsapi.beisen.com/opsapi/AddLog?appName='+pid+'&label=%5Bsplash%5D%20'+page+'&uid='+uid+'&tid='+tid+'&time='+diff+'&type=1&sid='+rand+'&step=0';
        var img = new Image;
        img.src = url;
    }
    </script> 
  <!--引用静态文件:front_css--> 
  <link href="css/front.css" rel="stylesheet" type="text/css" />  
  <style type="text/css">
          .checkbox_list {float: left;width: 450px;}
          .form_container ul li span.start_date {width: 80px;}
          .form_container ul li span.end_date {width: 70px;}
          .dl_logo img {
              width: auto!important;
              height: 40px!important;
              margin: 16px 0 0 30px!important;
            }
    </style> 
  <script type="text/javascript" id="user-info-header">


        var makeUserInfo = function (resp) {
            var self = this;
            var userInfoKey = 'userInfo';
            self[userInfoKey] = {};
            self[userInfoKey].name = resp.Model.Email;
            self[userInfoKey].shortName = (self[userInfoKey].name && self[userInfoKey].name.length > 20) ? self[userInfoKey].name.substring(0, 20) : self[userInfoKey].name;
            self[userInfoKey].isLogin = resp.Success;
            self[userInfoKey].firstLogin = resp.Model.ThFirstLogin;
            return self[userInfoKey]
        }

        $.ajax({
            url: 'ajax.php?v=' + Math.random()
            , data: {}
            , async: false
            , type: 'post'
            , success: function (resp) {
                //配置用户基本信息
                makeUserInfo.apply(window, [resp]);
            }//success
            , error: function () {
                throw new Error('ERROR: get user info')
            }
        });//ajax

        $(document).ready(function () {
            var isApplyDetail = "False".toLowerCase() == 'true' ? true : false;
            //先获取用户的基本信息，这里的ajax是同步等待
            if (!isApplyDetail) {
                var userInfo = window.userInfo;
                var detailView = $(".dl_rightit .isApplyDetail");
                var loginView = $(".dl_rightit .isLogin");
                var unLoginView = $(".dl_rightit .unLogin");
                detailView.show();
                //头部对外公开的口，可以修改用户名
                window.loginHeaderView = {
                    userNameText: function (text) {
                        var shortText = text && text.length > 20 ? text.substring(0, 20) : text;
                        loginView.find('.userShortName').text(shortText);
                        loginView.find('#topUserEmail').attr('title', text);
                    }
                };
                if (userInfo.isLogin) {
                    loginView.show();
                    loginView.find('.userShortName').text(userInfo.shortName);
                    loginView.find('#topUserEmail').attr('title', userInfo.name);
                }
                else {
                    unLoginView.show();
                }
            }
        })

        var UserPrompt = function (options) {
            this.paramMap = {
                targetSelector: 'targetSelector'
                , promptText: 'promptText'
            }
            this.floater = {
                tag: options[this.paramMap.targetSelector]
                , position: {}
                , size: {}
            };
            this.promptText = '您尚未设置密码，请点这里修改吧！';//options[this.paramMap.promptText] || '';
            this.ui = {
                close: ".user-prompt-closeBtn"
            };
            this.initialize();
        };
        UserPrompt.prototype = {
            initialize: function () {
                var self = this;
                if ($(self.floater.tag).length < 1) return;

                self.getFloater();
                self.makeView();
                self.attachCss()
                self.aliveUi();
                self.bindEvents();
            }
            , render: function () {
                var self = this;
                self.$el.appendTo($('body'));
            }
            , show: function () {
                var self = this;
                if ($(self.floater.tag).length < 1) return;
                //控制所有子页面的show，如果用户第一次登陆才可以show
                //这里没有在子页面去判断是否show是因为单价太高，一共有3个子页面，不好维护
                if (window.userInfo.firstLogin) self.render();
            }
            , hide: function () {
                var self = this;
                $el.remove();
            }
            , getFloater: function () {
                var self = this;
                self.floater.tag = $(self.floater.tag) || $('body');
                self.floater.position = self.floater.tag.position();
                self.floater.size = {
                    'height': self.floater.tag.height()
                    , 'width': self.floater.tag.width()
                }
            }
            , makeView: function () {
                var self = this;
                self.$el = $("<div class='user-prompt-user-firstIn'>" +
                                 "<div class='user-prompt-action-container'>" +
                                    "<span class='user-prompt-closeBtn' title='close'></span>" +
                                 "</div>" +
                                 "<div class='user-prompt-content'>" + self.promptText + "</div>" +
                             "</div>");
            }
            , attachCss: function () {
                var self = this;
                //这里的0.9和4是写死的数，为了调整位置
                self.$el.css({
                    'top': (self.floater.position.top + self.floater.size.height) + 'px' // + 15
                    , 'left': (self.floater.position.left - self.floater.size.width / 4) + 'px'//+ self.floater.size.width / 2
                });
            }
            , aliveUi: function () {
                var self = this;
                var aliveUi = {};
                $.each(self.ui, function (key, value) {
                    aliveUi[key] = self.$el.find(value) || null;
                });
                self.ui = aliveUi;
            }
            , bindEvents: function () {
                var self = this;
                self.ui.close.bind('click', function () {
                    self.$el.remove()
                })
            }
        };


    </script> 
 </head> 
 <body> 
  <div class="bs_deliver"> 
   <div class="dl_header_border"> 
    <div class="dl_header clearfix"> 
     <div class="dl_logo"> 
      <img id="logoImg" class="header-logo-img" src="images/104003_medias_20141215_20141215logo.jpg?v=635542641034400000" style="width: 300px;height:80px;display: none;" /> 
     </div> 
     <div class="dl_rightit"> 
      <div class="isApplyDetail" style="display:none"> 
       <div class="isLogin" style="display:none"> 
        <span id="topUserEmail" class="pad3" title=""><span class="userShortName"></span>，欢迎您！</span> 
        <span class="pad3"><a href="index.html">招聘首页</a></span> 
        <em class="dl_header_line dl_padtb05">|</em> 
        <span class="isUserCenter" style="display:none"> <span class="pad3"><a href="member_apply.html">个人中心</a></span> <em class="dl_header_line dl_padtb05">|</em> </span> 
        <span class="pad3"><a href="/Portal/Account/Logout">退出</a></span> 
       </div> 
       <div class="unLogin" style="display:none"> 
        <span class="pad3"><a href="index.html">招聘首页</a></span> 
        <em class="dl_header_line dl_padtb05">|</em> 
        <span class="pad3"><a href="/Portal/Account/Login">登录</a></span> 
        <em class="dl_header_line dl_padtb05">|</em> 
        <span class="pad3"><a href="/Portal/Account/Register">注册</a></span> 
       </div> 
      </div> 
     </div> 
    </div> 
   </div> 
   <div class="dl_content dl_gray_bg"> 
    <!----> 
    <!--申请职位 s--> 
    <!--申请职位 e--> 
    <!--我的简历 s--> 
    <!--简历内容 s--> 
    <style type="text/css">
        .code
        {
            clear: both;
            padding-left: 80px;
        }

            .code .code_add
            {
                text-decoration: none;
                margin-left: 0;
            }

            .code a.code_add:hover
            {
                text-decoration: underline;
            }

        .form_container .form_part ul.code_list
        {
            padding-left: 0;
        }

        .form_container li a.code_del
        {
            text-decoration: none;
            padding-left: 40px;
        }

            .form_container li a.code_del:hover
            {
                text-decoration: underline;
            }

        .code_type
        {
            width: 180px;
        }

        .code_dialog
        {
            padding: 30px 40px;
        }

        div.code_dialog_btn
        {
            margin-top: 0;
            height: 32px;
        }

        span.code_error_pop
        {
            margin-top: 5px;
            width: auto;
            height: 20px;
            visibility: hidden;
        }

        .code_dialog #btnClse
        {
            margin-left: 50px;
        }

        .code_dialog .dl_dialog_btn
        {
            padding-top: 20px;
            margin-top: 10px;
        }

        .code_type_outer
        {
            text-align: center;
        }

        .code_dialog a.dl_btn_grey1 span
        {
            padding: 0 16px 0 0;
        }

        .code_dialog a.dl_btn_grey1
        {
            padding-left: 16px;
        }

        .code_title
        {
            margin-bottom: 10px;
            color: #333;
        }
    </style> 
    <div class="dl_liucheng dl_top_table"> 
     <h3 class="applypos"> <span>申请职位：</span><span class="dl_positionname"><strong style="font-weight: bold;">PTD 助教总监</strong> </span> </h3> 
     <table align="center" class="dl_top_ico"> 
      <tbody>
       <tr> 
        <td align="center"> 
         <ul class="dl_picliu"> 
          <li class="basic" onclick="BSGlobal.navigate(0);" style="cursor: pointer;"><a href="javascript:void(0);" onclick="BSGlobal.navigate(0);"><span class="dl_grey3">1基本信息</span></a></li> 
          <li class="greyarrow"></li> 
          <li class="greyprofile" onclick="BSGlobal.navigate(1);" style="cursor: pointer;"><a href="javascript:void(0);" onclick="BSGlobal.navigate(1);"><span class="dl_grey2">2个人履历</span></a></li> 
          <li class="greyarrow"></li> 
          <li class="greysubmit" onclick="BSGlobal.navigate(4);" style="cursor: pointer;"><a href="javascript:void(0);" onclick="BSGlobal.navigate(4);"><span class="dl_grey2">3预览/提交</span></a></li> 
         </ul> </td> 
       </tr> 
      </tbody>
     </table> 
    </div> 
    <div> 
     <style type="text/css">
  *html .dl_myleftform .form_container{ width: 490px;overflow: hidden}
  *html .dl_myleftform .form_container .form_part .columntwo ul{ width: 360px;overflow: hidden;}
  *html .dl_myleftform .form_container ul li{ width: 360px;overflow: hidden}
  /* .dl_myleftform .form_container li label{width: 100px}*/
*html .dl_myleftform .form_container ul li span.preview_text{ width: 220px;overflow: hidden;}
*html .dl_myleftform .form_container ul li textarea.textarea{ width: 200px;}
*html .form_container li span.desc
{
    
	margin-right:-3px;
	position:relative;
}
   .redBorder,.form_container li textarea.redBorder,
    .form_part li input.redBorder{border: red 1px solid;}

</style> 
     <div class="dl_bacwrap dl_new_error_wrap"> 
      <div class="mainwrap"> 
       <br /> 
       <h3 class="dl_bigtit"> <span class="dl_postit">基本信息</span> <span class="dl_padl20"></span> </h3> 
       <br /> 
       <a name="个人信息"></a> 
       <div class="dl_greyline_bg"> 
        <span class="dl_menutit">个人信息</span> 
       </div> 
    <?php $form = ActiveForm::begin([
    'action'  => '?r=apply/userinfoadd',
    'options' => ['enctype' => 'multipart/form-data']])
     ?>
        <div class="clearfix"> 
         <div class="dl_myleftform"> 
          <input type="hidden" name="oId" id="Hidden1" value="" /> 
          <input type="hidden" name="jId" id="Hidden4" value="620025245" /> 
          <input type="hidden" name="mId" id="Hidden5" value="0" /> 
          <input type="hidden" name="stepId" id="Hidden2" value="1" /> 
          <input type="hidden" name="_metaObjID" value="NDc0NjFhMzktMTg2My00YzM3LTlmOTgtY2ZkN2UyOTFlNmQ0LDhiYzYzYjNlLWQ2M2QtNDE2Yi04YzFmLTk5MDcyMjgyZWUzZg==" /> 
          <input type="hidden" name="_objectDataID" value="NDc0NjFhMzktMTg2My00YzM3LTlmOTgtY2ZkN2UyOTFlNmQ0JCw4YmM2M2IzZS1kNjNkLTQxNmItOGMxZi05OTA3MjI4MmVlM2Yk" /> 
          <input name="_viewName" type="hidden" value="UGVyc29uUHJvZmlsZVZpZXc=" />
          <input name="_version" type="hidden" value="MA==" />
          <input name="_formIndex" type="hidden" value="1" />
          <div class="form_container" id="RecruitmentPortal.PersonProfile"> 
           <h2 class="form_title"> <strong>个人信息</strong> <span class="tab"></span> </h2> 
           <div class="form_part"> 
            <div class="form_part_container columnone"> 
             <ul> 
              <li><label class="current label_required">姓名：</label> <input class="{required:true,messages:&quot;请填写姓名&quot;} mul_input" name="nickname" id="4c037148-140a-4c2b-b87a-b97609215d7011" value="<?= isset($model->nickname)?$model->nickname:''; ?>" /> <span class="desc"></span> </li> 
              <li><label class="current label_required">性别：</label> 
               <div class="radio_list"> 
                <input type="radio" name="sex" value="0" <?php if (isset($model->sex)&&($model->sex)==0): ?>
                     checked
                <?php endif ?> /> 
                <label class="radio_label">男</label> 
                <input type="radio" name="sex" value="1" <?php if (isset($model->sex)&&($model->sex)==1): ?>
                      checked
                <?php endif ?> /> 
                <label class="radio_label">女</label> 
               </div> </li> 
              <li><label class="current label_required">出生日期：</label> <input class="mul_input Wdate" name="brith" id="" value="<?= isset($model->brith)?$model->brith:''; ?>" />  <span class="desc">日期格式：2000-01-01</span> </li> 
              <li><label class="current label_required">邮箱：</label> <input class="{required:true,messages:&quot;请填写邮箱&quot;} mul_input" name="email" id="67a5c587-4f90-4ae7-819f-eb3dba9ea39911" value="<?= isset($model->email)?$model->email:''; ?>" /> <span class="desc"></span> </li> 
              <li><label class="current label_required">手机号：</label> <input class="{required:true,messages:'请填写手机号'} mul_input " name="phone" id="acb9b67f-9643-41fb-a7fe-5ff8d742ccdf11" value="<?= isset($model->phone)?$model->phone:''; ?>" /> </li> 
             </ul> 
            </div> 
            <div class="clear"></div> 
           </div> 
           <div class="form_part"> 
            <div class="form_part_container columnone"> 
             <ul> 
              <li><label class="current label_required">工作年限：</label> <select name="backup" id="RecruitmentPortalPersonProfile_YearsOfWork" class="mul_select"> <option value="">请选择</option> 
                
               <?php for ($i=1; $i <=10; $i++) { ?>
                    <option value="<?= $i ?>" <?php if (isset($model->backup)&&$model->backup==$i) {
                        echo "selected";
                    } ?>><?= $i ?>年</option>
               <?php } ?>
  
              


              </select> </li> 
              <li>
              <?= $form->field($modelUpload, 'imageFiles[]')->fileInput(['multiple' => true, 'accept' => 'image/*'])->label('证件照') ?>

               <ul id="c71310e0-0bef-4173-9826-21a572d4943d11_info" class="uploadfilescontainer" style="margin-left:70px;"> 
               </ul> </li> 
             </ul> 
            </div> 
            <div class="clear"></div> 
           </div> 
          </div> 
         </div> 
         <div id="imgContainer" class="dl_myrightfile" style="display: none;"> 
          <img id="idPhoto" style="width:120px;height:140px;" src="images/upfile.jpg" /> 
          <br /> 
          <a class="blue" id="idPhotoUploadBtn" href="###">上传照片</a> 
      

          <ul id="idPhotowarninfo" class="warninfo"> 
          </ul> 
         </div> 
        </div> 
      
        <div class="dl_bd_btm"></div> 
       <div class="dl_subbtn dl_htline32"> 
        <span class="dl_btn_lev dl_ft14_grey dl_padr10"><a name="btnCancel" href="#this"><b>取消</b></a></span> 
        <button><a name="btnSave" href="#" class="dl_btn_grey1"><span>保存并下一步</span></a></button>
       </div>
<?php ActiveForm::end() ?>
       <a name="求职意向" style="display:none"></a> 
       <div class="dl_greyline_bg" style="display:none"> 
        <span class="dl_menutit">求职意向</span> 
       </div> 
       <form method="post" id="0738c88a-d372-4401-a39d-782141723d86" name="0738c88a-d372-4401-a39d-782141723d86" class="formPart" enctype="multipart/form-data" action="/Portal/Resume/ResumeItem"> 
        <div class="clearfix" style="display:none"> 
         <div class="dl_myleftform"> 
          <input type="hidden" name="oId" id="Hidden1" value="" /> 
          <input type="hidden" name="jId" id="Hidden4" value="620025245" /> 
          <input type="hidden" name="mId" id="Hidden5" value="1" /> 
          <input type="hidden" name="stepId" id="Hidden2" value="1" /> 
          <input name="_viewName" type="hidden" value="T2JqZWN0aXZlVmlldw==" />
          <input name="_version" type="hidden" value="MA==" />
          <input name="_formIndex" type="hidden" value="12" />
          <div class="form_container" id="RecruitmentPortal.Objective"> 
           <h2 class="form_title"> <strong>求职意向</strong> <span class="tab"></span> </h2> 
           <div class="form_part"> 
            <div class="form_part_container columnone"> 
             <ul> 
              <li><label>现从事行业：</label> <input class="mul_input industry" name="RecruitmentPortalObjective_EngagedIndustry_txt" id="ef3f9faf-97c6-432b-9c6b-0b0b66c5c4271212_txt" value="" /> <input type="hidden" value="" id="ef3f9faf-97c6-432b-9c6b-0b0b66c5c4271212" name="RecruitmentPortalObjective_EngagedIndustry" /> </li> 
              <li><label>现从事职业：</label> <input type="text" readonly="true" displayname="现从事职业" constname="JobCategory" value="" class="Ajson ConstDictSingleSelect" id="RecruitmentPortalObjective_CurrJobCategory_Id" /> <input type="hidden" value="" name="RecruitmentPortalObjective_CurrJobCategory" id="RecruitmentPortalObjective_CurrJobCategory" class="ResidenceState" /> </li> 
              <li><label>现工作城市：</label> <input type="text" readonly="true" displayname="现工作城市" constname="Areas" value="" class="Ajson ConstDictSingleSelect" id="RecruitmentPortalObjective_CurrWorkCity_Id" /> <input type="hidden" value="" name="RecruitmentPortalObjective_CurrWorkCity" id="RecruitmentPortalObjective_CurrWorkCity" class="ResidenceState" /> </li> 
              <li><label>现月薪(税前)：</label> <select name="RecruitmentPortalObjective_CurrSalary" id="RecruitmentPortalObjective_CurrSalary" class="mul_select"> <option value="">请选择</option> <option value="1">1000以下</option> <option value="2">1000～2000</option> <option value="3">2001～4000</option> <option value="4">4001～6000</option> <option value="5">6001～8000</option> <option value="6">8001～10000</option> <option value="7">10001～15000</option> <option value="8">15001～25000</option> <option value="9">25000以上</option> <option value="10">面议</option> </select> </li> 
              <li><label class="current label_required">期望从事行业：</label> <input class="mul_input industry" name="RecruitmentPortalObjective_ExpectIndustry_txt" id="e5688d4a-bad3-48fb-842e-0ae7df7036d51212_txt" value="" /> <input type="hidden" id="e5688d4a-bad3-48fb-842e-0ae7df7036d51212" name="RecruitmentPortalObjective_ExpectIndustry" class="{required:true,messages:&quot;请填写期望从事行业&quot;}" /> </li> 
              <li><label class="current">期望从事职业：</label> <input type="text" readonly="true" displayname="期望从事职业" constname="JobCategory" value="" class="Ajson ConstDictSingleSelect" id="RecruitmentPortalObjective_ExpectJobCategory_Id" /> <input class="ResidenceState" type="hidden" value="" name="RecruitmentPortalObjective_ExpectJobCategory" id="RecruitmentPortalObjective_ExpectJobCategory" /> </li> 
              <li><label class="current label_required">期望工作城市：</label> <input name="RecruitmentPortalObjective_ExpectWorkCity_txt" id="bdb0be18-1b30-4001-817e-34807ab4d94b1212_txt" value="" /> <input type="hidden" value="" id="bdb0be18-1b30-4001-817e-34807ab4d94b1212" name="RecruitmentPortalObjective_ExpectWorkCity" class="{required:true,messages:&quot;请填写期望工作城市&quot;}" /> </li> 
              <li><label>期望月薪(税前)：</label> <select name="RecruitmentPortalObjective_ExpectSalary" id="RecruitmentPortalObjective_ExpectSalary" class="mul_select"> <option value="">请选择</option> <option value="1">1000以下</option> <option value="2">1000～2000</option> <option value="3">2001～4000</option> <option value="4">4001～6000</option> <option value="5">6001～8000</option> <option value="6">8001～10000</option> <option value="7">10001～15000</option> <option value="8">15001～25000</option> <option value="9">25000以上</option> <option value="10">面议</option> </select> </li> 
              <li><label>到岗时间：</label> <select name="RecruitmentPortalObjective_EntrantDate" id="RecruitmentPortalObjective_EntrantDate" class="mul_select"> <option value="">请选择</option> <option value="1">一周内</option> <option value="2">一个月内</option> <option value="3">三个月内</option> <option value="4">三个月以上</option> <option value="5">面议</option> </select> </li> 
             </ul> 
            </div> 
            <div class="clear"></div> 
           </div> 
          </div> 
         </div> 
        </div> 
       </form> 
      
       <div class="error_show" style="text-align:center;padding-top:10px;display:none">
        <span class="new_pop_error" style="width:auto;font-weight:bold">部分内容未填写完整，请完善。</span>
       </div> 
      </div> 
     </div> 
     <script type="text/javascript">
    $(function () {
        BSGlobal.data = {
            r: 'detail.html?620025245',
            jId: '620025245',
            sId: '0',
            source: '',
            myJobApplyCount: '0',
            viewName: 'ResumePersonProfile',
            redirectUrl: '/Portal/Resume/ResumeItem',
            saveUrl: '/Portal/Resume/SaveResumeItems',
            uploadUrl: '/Portal/Resume/UploadAttach',
            zpDetailUrl: 'detail.html?620025245',
            myCollectUrl: 'member_collect.html',
            myApplyUrl: 'member_apply.html',
            fileUrl: '/Portal/Resume/ResumePhoto',
            pageId: '',
            idType: '0',
            personId: '',
            storeDbId: '',
            formId: '',
            isImport: '1',
            nextStep: '1',
            preStep: '0',
            IsApplyEdit: false
            
        };
        BSGlobal.page = new BSGlobal.pt("CmsPortal", BSGlobal.data);
        $("#stationId").change(function() {
            if ($(this).val() != '') {
                $("#stationId").removeClass('redBorder');
                $(".stationError").hide();
            }
        });
    });
</script> 
     <!--引用静态文件:dataInitFunc,HangYe,AreaJson,NewAreaJson--> 
     <script type="text/javascript"> function setAJson(data){ window.Ajson=data; } function setNewAJson(data){ window.NewAjson=data; } function setMJson(data){ window.Mjson=data; } </script> 
     
    </div> 
    <!--简历内容 e--> 
   </div> 
   <div class="dl_footer"> 
    <p>北京八维研修学院软工1505PHPC班七组成员制作</p> 
   </div> 
  </div>  

  <script type="text/javascript">_splash('zhiye_resumeitem',0,104003,'new.zhiye.com');</script> 
  <script type="text/javascript">
        function navigate(jId, step) {
            location.href = "/Portal/Resume/ResumeItem?jid=" + jId + "&stepId=" + step;
        }
    </script> 
 
  <script type="text/javascript">
        $(function () {
            BSGlobal.detaildata = {
                r: 'detail.html?620025245',
                jId: '620025245',
                sId: '0',
                pageId: '',
                source: '',
                pageId: '',
                isImport: '1',
                idType: '0',
                personId: '',
                storeDbId: '',
                formId: '',
                navigateUrl: '/Portal/Resume/ResumeItem',
                IsApplyEdit: false
            };
            BSGlobal.resumeDetai = new BSGlobal.resumeDetailPage("CmsPortal", BSGlobal.detaildata);

            if (BSGlobal.detaildata.idType > 0)
            //                $("input[name=RecruitmentPortalPersonProfile_email]").attr("disabled", "disabled"); 
                $("input[name=RecruitmentPortalPersonProfile_email]").prop('readonly', true).css('background-color', '#ebebe4');
            $("input[name=RecruitmentPortalPersonProfile_email]").attr("value", $("input[name=RecruitmentPortalPersonProfile_email]").val());
        });
    </script> 
  <script type="text/javascript">

            $(document).ready(function(){

                
                if( window.location.host.toLowerCase() == 'pecc.zhiye.com' ){
                
                    var certificateType = $("#RecruitmentPortalPersonProfile_CertificateType");
                    if( certificateType.length ){
                        //先选择option是为了使用所选option的验证规则
                        certificateType.val('1');
                        $.each(certificateType.find('option'), function( state, child ){
                            
                            if( $(child).val() != "1" ) $(child).remove()
                        });
                    }

                    var phone = $("#phoneTypeSel");
                    if( phone.length ){
                        phone.val("chn");
                        $.each( phone.find('option'), function( state, child ){
                            
                            if( $(child).val() != "chn" ) $(child).remove()
                        });
                    }
                }
            });
            
        </script> 
  <script language="javascript" type="text/javascript">

        function SetCss() {
            var win = window.location.href;
            if (win.indexOf("Apply") != -1) {
                $("#myapply a").addClass("current");
            }
            else if (win.indexOf("ResumeItem") != -1) {
                $("#myresume a").addClass("current");
            }
            else if (win.indexOf("EditPwd") != -1) {
                $("#changepwd a").addClass("current");
            }
        }
        SetCss();

        $(function () {

            setInterval(function () {
                try {
                    DrawImage($("#logoImg"), '350', '80');
                } catch (e) {
                }
            }, 100);
        });

        function DrawImage(ImgD, FitWidth, FitHeight) {
            var image = new Image();

            image.src = $(ImgD).attr("src");

            if (image.width > 0 && image.height > 0) {
                if (image.width / image.height >= FitWidth / FitHeight) {
                    if (image.width > FitWidth) {
                        $(ImgD).css("width", FitWidth);
                        $(ImgD).css("height", (image.height * FitWidth) / image.width);
                    } else {
                        $(ImgD).css("width", image.width);
                        $(ImgD).css("height", image.height);
                    }
                } else {
                    if (image.height > FitHeight) {
                        $(ImgD).css("height", FitHeight);
                        $(ImgD).css("width", (image.width * FitHeight) / image.height);
                    } else {
                        $(ImgD).css("width", image.width);
                        $(ImgD).css("height", image.height);
                    }
                }
                $(ImgD).show();
            }
        }
    </script>  
 </body>
</html>